// The functions contained in this file are pretty dummy
// and are included only as a placeholder. Nevertheless,
// they *will* get included in the shared library if you
// don't remove them :)
//
// Obviously, you 'll have to write yourself the super-duper
// functions to include in the resulting library...
// Also, it's not necessary to write every function in this file.
// Feel free to add more files in this project. They will be
// included in the resulting library.
#include "EasyConfig.h"
#include "Config.h"
extern "C"
{
    // A function adding two integers and returning the result

    int initConfig()
    {
        configPtr = new Config();
        configPtr->init();
    }

    int getIntValue(std::string name)
    {
        return configPtr->getIntValue(name);
    }

    // A function doing nothing ;)
    std::string getStrValue(std::string name)
    {
        return configPtr->getStrValue(name);
    }

    // A function always returning zero
    int Reload()
    {
        // insert code here

        return 0;
    }
}
